import request from '../utils/request';
// 封装注册是手机号码否被注册过
export function docCheckPhone(params) {
  return request.post('/api/user/docheckphone', params);
}
//   登录接口
export function login(params) {
  return request.post('/api/user/login', params);
}
//   封装发送短信验证码
export function doSendMsgCode(params) {
  return request.post('/api/user/dosendmsgcode', params);
}
//   验证短信验证码
export function doCheckCode(params) {
  return request.post('/api/user/docheckcode', params);
}
//   注册接口
export function doFinishRegister(params) {
  return request.post('/api/user/dofinishregister', params);
}
